package com.lagou.bean;

/**
 * 每次调用的时间统计
 */
public class MonitorData {

    //方法调用的开始时间
    private long startTime;

    //方法调用花费的时间
    long costTime;

    public MonitorData(long startTime, long costTime) {
        this.startTime = startTime;
        this.costTime = costTime;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getCostTime() {
        return costTime;
    }

    public void setCostTime(long costTime) {
        this.costTime = costTime;
    }
}
